<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Mini Sandbox</title>
</head>
<body>
  <style>
  </style>
  <style>
    body {
      position: relative;
      height: 100%;
      overflow: hidden;
    }
    #my-sandbox {
      box-shadow: 0.8rem 0.8rem 1.4rem #c8d0e7,
                  -0.2rem -0.2rem 1.8rem #dddfea;
      width: 90vw;
      height: 80vh;
      margin: 10vh auto;
      /* border: 2px solid rgb(19, 121, 255); */
      border-radius: 5px;
      box-sizing: border-box;
    }
  </style>
  <div id="my-sandbox"></div>

  <script src="https://cdn.jsdelivr.net/npm/mini-sandbox@0.3.7"></script>

  <!-- <script src="./dist/index.umd.js"></script> -->
  <!-- <script src="./dist/vue-loader.js"></script> -->
  <!-- <script src="./dist/react-loader.js"></script> -->
  <script>
    var mp = new MiniSandbox({
      el: '#my-sandbox',
      files: {
        'index.html': {
            urlField: 'code',
          defaultValue: "<style>\n  h3 {\n    text-align: center;\n  }\n</style>\n\n<h3 class=\"box\"></h3>\n",
        },
      },
      defaultConfig: {
        height: '80vh'
      }
    })
  </script>
</body>
</html>
